﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Enterprise/Master/AdminMaster.Master"
    AutoEventWireup="true" CodeBehind="DistributionRelationWithWizard.aspx.cs" Inherits="HZ.DrugTrade.Web.Enterprise.RelationQuery.DistributionRelationWithWizard" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div>
                    <asp:HiddenField ID="hidConfirm" runat="server" OnValueChanged="hidConfirm_ValueChanged" /> <div class="maincon">
                        <div id="note">
                            批量建立配送关系
                        </div>
                        <div id="note2">
                        </div>
                    </div>
                        配送企业：<asp:Label ID="lblCompanyName" runat="server"></asp:Label><asp:Wizard ID="Wizard1" runat="server" ActiveStepIndex="0" 
                        OnFinishButtonClick="Wizard1_FinishButtonClick" onnextbuttonclick="Wizard1_NextButtonClick" 
            Height="95%" Width="95%" DisplaySideBar="False" DisplayCancelButton="True" 
            oncancelbuttonclick="Wizard1_CancelButtonClick" CancelButtonText="完 成" 
                        FinishCompleteButtonText="提 交" FinishPreviousButtonText="上 一 步" 
                        StartNextButtonText="下 一 步" StepNextButtonText="下 一 步">
            <WizardSteps>
                <asp:WizardStep ID="WizardStep1" runat="server" Title="可配送区域选择">
                    <div class="maincon">
                        <div id="Div3">
                            步骤一：可配送区域选择
                        </div>
                        <div id="Div4">
                        </div>
                    </div>
                    <asp:GridView ID="gvwArea" CssClass="mainlist" runat="server" AutoGenerateColumns="False"
                        DataKeyNames="AreaID">
                        <Columns>
                            <asp:BoundField DataField="AreaName" HeaderText="地区名称" ItemStyle-Width="70%" HeaderStyle-Width="70%">
                                <HeaderStyle Width="70%"></HeaderStyle>
                                <ItemStyle Width="70%"></ItemStyle>
                            </asp:BoundField>
                            <asp:TemplateField>
                                <HeaderTemplate>
                                    <asp:CheckBox ID="addTable_chkAll" runat="server" OnClick="SelectAllCheckboxes(this,'ctl00_ContentPlaceHolder1_Wizard1_gvwArea','ctl00_ContentPlaceHolder1_Wizard1_gvwArea_ctl01_addTable_chkAll');" />
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <asp:CheckBox ID="checkbox1" runat="server" OnClick="chkChecked(this,'ctl00_ContentPlaceHolder1_Wizard1_gvwArea','ctl00_ContentPlaceHolder1_Wizard1_gvwArea_ctl01_addTable_chkAll');" />
                                </ItemTemplate>
                            </asp:TemplateField>
                        </Columns>
                    </asp:GridView>
                </asp:WizardStep>
                <asp:WizardStep ID="WizardStep2" runat="server" Title="采购产品选择">
                    <div class="maincon">
                        <div id="Div1">
                            步骤二：采购产品选择
                        </div>
                        <div id="Div2">
                        </div>
                    </div>
                    <br />
                    <div id="tabcontent">
                        <table class="querylist">
                            <tr>
                                <td>
                                    <table class="querylist">
                                        <tr>
                                            <td align="right">
                                                &nbsp;产品名称：
                                            </td>
                                            <td align="left">
                                                <asp:TextBox ID="txtGoodsName" runat="server"></asp:TextBox>
                                            </td>
                                            <td align="right">
                                                <asp:Label ID="lblIsUsing" runat="server" Text="规格型号："></asp:Label>
                                            </td>
                                            <td align="left">
                                                <asp:TextBox ID="txtOutlookc" runat="server"></asp:TextBox>
                                            </td>
                                            <td align="right">
                                                <asp:Label ID="lblMaterial1" runat="server" Text="材质："></asp:Label>
                                            </td>
                                            <td align="left">
                                                <asp:TextBox ID="txtMaterial" runat="server"></asp:TextBox>
                                            </td>
                                            <td rowspan="2">
                                                <hz:HzButton ID="btnQuery0" runat="server" OnClick="btnQuery_Click" Text="查  询" CssClass="btn" />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td align="right">
                                                <asp:Label runat="server" ID="lblPinyinCode" Text="拼音码："></asp:Label>
                                            </td>
                                            <td align="left">
                                                <asp:TextBox runat="server" ID="txtPinyinCode"></asp:TextBox>
                                            </td>
                                            <td align="right">
                                                <asp:Label ID="lblIsOnline" runat="server" Text="最小计量单位："></asp:Label>
                                            </td>
                                            <td align="left">
                                                <asp:TextBox ID="txtUnit" runat="server"></asp:TextBox>
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                        </table>
                    </div>
                    <asp:GridView ID="GvRelaion" CssClass="mainlist" runat="server" AutoGenerateColumns="False"
                        DataKeyNames="ProcureCatalogID" EmptyDataText="暂无符合要求的数据！">
                        <Columns>
                            <asp:TemplateField HeaderText="序号">
                                <ItemTemplate>
                                    <%#Container.DataItemIndex + 1 + AspNetPager1.PageSize * (AspNetPager1.CurrentPageIndex-1) %></ItemTemplate>
                                <HeaderStyle Width="30px" />
                            </asp:TemplateField>
                            <asp:BoundField DataField="GoodsName" HeaderText="产品名称" />
                            <asp:BoundField DataField="Outlookc" HeaderText="规格型号" />
                            <asp:BoundField DataField="Material" HeaderText="材质" />
                            <asp:BoundField DataField="Unit" HeaderText="最小计量单位" />
                            <asp:BoundField DataField="PackUnit" HeaderText="包装单位"/>
                            <asp:BoundField DataField="QualityLevel" HeaderText="产品类别" />
                            <asp:BoundField DataField="CompanyName_SC" HeaderText="生产企业" />
                            <asp:BoundField DataField="CompanyName_TB" HeaderText="投标企业" />
                            <asp:TemplateField>
                                <HeaderTemplate>
                                    <asp:CheckBox ID="addTable_chkAll" runat="server" OnClick="SelectAllCheckboxes(this,'ctl00_ContentPlaceHolder1_Wizard1_GvRelaion','ctl00_ContentPlaceHolder1_Wizard1_GvRelaion_ctl01_addTable_chkAll');" />
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <asp:CheckBox ID="checkbox1" runat="server" OnClick="chkChecked(this,'ctl00_ContentPlaceHolder1_Wizard1_GvRelaion','ctl00_ContentPlaceHolder1_Wizard1_GvRelaion_ctl01_addTable_chkAll');" />
                                </ItemTemplate>
                            </asp:TemplateField>
                        </Columns>
                    </asp:GridView>
                    <div class="page">
                        <webdiyer:AspNetPager ID="AspNetPager1" runat="server" 
                            OnPageChanged="AspNetPager1_OnPageChanged" 
                            InvalidPageIndexErrorMessage="页索引不是有效的数值！" 
                            PageIndexOutOfRangeErrorMessage="页索引超出范围！">
                        </webdiyer:AspNetPager>
                    </div>
                </asp:WizardStep>
            </WizardSteps>
        </asp:Wizard>
        
    <div class="listip">
        <ul>
            <li>说明：   <li>说明：<span><%--可配送区域选择：默认勾选的表示在该地区已经存在配送关系； <br />
                             &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;--%>采购产品选择：点击“完成”保存未建立的配送关系；此处操作不会对已存在的配送关系产生影响； <br />
                             &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                             此处大批量添加配送管理，请慎重操作。</span></li>
        </ul>
    </div>
    </div>
</asp:Content>
